package com.qing.library_manager.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@ApiModel(value = "book对象",description = "图书信息表")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("tb_book")
public class Book {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    @TableId
    private String bookId;

    @ApiModelProperty(value = "")
    private int bookShowId;

    @ApiModelProperty(value = "")
    private String bookName;

    @ApiModelProperty(value = "")
    private String bookAuthorName;

    @ApiModelProperty(value = "")
    private BigDecimal bookPrice;

    @ApiModelProperty(value = "")
    private String bookPlace;

    @ApiModelProperty(value = "")
    private String bookRemark;

    @ApiModelProperty(value = "")
    private String bookStatus;

}
